package com.icinfo.cloud.provider.punish.service;


import com.icinfo.cloud.common.core.page.PageResponse;
import com.icinfo.cloud.provider.common.service.PunishBaseService;
import com.icinfo.cloud.provider.punish.csource.manage.model.CaseSourceRegisterMainInfo;
import com.icinfo.cloud.provider.punish.csource.manage.vo.CaseSourcePartyInfoVo;
import com.icinfo.cloud.provider.punish.vo.AssociatedTaskVo;
import com.icinfo.framework.core.service.BaseService;

import java.util.List;

/**
 * 案源相关service
 * @author HKxxx
 * @date 2024/1/9 14:59
 */
public interface ICaseSourceRegisterMainInfoService extends BaseService, PunishBaseService {

    /**
     * 我的案源列表
     * @param page 页码
     * @param size 容量
     * @param partyNameOrCaseReason 当事人名称或案源名称
     * @param caseSourceStatus 案源状态
     * @return
     */
    PageResponse<AssociatedTaskVo> myCaseSourceList(int page, int size, String partyNameOrCaseReason, String caseSourceStatus);


    /**
     * 获取案源的当事人信息
     * @param caseSourceId
     * @return
     */
    List<CaseSourcePartyInfoVo> getCaseSourcePartyInfo(String caseSourceId);

    /**
     * 根据案源主键获取案源信息主表
     * @param id
     * @return
     */
    CaseSourceRegisterMainInfo getCaseSourceRegisterMainInfoById(String id);


}
